/* 
    Document   : style
    Created on : 25.11.2012, 22:07:29
    Author     : Администратор
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}
@font-face {
	font-family:"myLobster";
	src:url(fonts/Lobster.otf) format("opentype");
}
body {
    text-align: left;
    margin: 0 auto;
    
    background-image: url(img/body-background.png);
    background-repeat: repeat;
    min-width: 800px;    
}
p {
    margin: 10px 10px 10px 10px;
    font-family: Segoe UI ;
    font-size: 13px;
        
}
p, li {
    line-height: 20px;
}
header#page_header {
    width: 100%;
    background-color: grey;
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
    height: 55px;
    border-top: 1px solid #111;
    -webkit-box-shadow: 0 0 20px #DDD,0 0 0 transparent;
    -moz-box-shadow: 0 0 20px #ddd,0 0 0 rgba(0,0,0,0);
    box-shadow: 0 0 20px #DDD,0 0 0 transparent;
    background: url(img/header-main.png) bottom left black;
}

header#page_header nav ul, #page_footer nav, ul {
    list-style: none;
    margin: 0;
    padding: 0px;
}
#page_header nav ul li, footer#page_footer nav ul li {
    padding: 10px;
    margin: 0 20px 0 0;
    display: inline;
}
section#reg a {
    margin-top: 8px;
    float: right;
    margin-right: 8%;
    width:150px;
    height:37px;
    line-height:37px;
    border:none;
    background:url(img/form_button1.gif) no-repeat 0 0;
    color:#fff;
    cursor: default;
    text-align:center;
    bottom: 0%;
    height: 55%;
    text-decoration: none;
    font-size: 14px;
    font-family: "Segoe UI";
}
section#logo a {
    display: block;
    position: absolute;
    bottom: 0%;
    height: 55%;
    margin-left: 8%;
    text-decoration: none;
    font-size: 32px;
    color: #ffffff;
    text-shadow: 2px 2px 1px #CCC;
    font-family: "myLobster";
    margin-bottom: 20px;
   
}
section#mainbar {
    margin-bottom: 10px;
    margin-left: 8%;
    margin-right: 8%;
    background-color: #F9F9F9;
    border: 1px solid #CCC;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}
section#posts h1 {
    margin-left: 30px;
    font-size: 20px;
}
section#posts {
    font-family: Segoe UI;
    float: left;
    width: 65%;
    margin-left: 8%;
    background-color: #F9F9F9;
    border: 1px solid #CCC;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    }
section#posts aside {
    float: right;
    width: 35%;
    margin-left: 5%;
    font-size: 20px;
    line-height: 40px;
    background-color: #666666
}

section#sidebar {
 
    margin-left: 74%;
    margin-right: 8%;
    background-color: #F9F9F9;
    border: 1px solid #CCC;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}
footer#page_footer {
    clear: both;
    width: 100%;
    display: block;
    text-align: center;
}

#form1{
		margin:1em 100px;
		padding-top:10px;
		}
	#form1 fieldset{
		margin:0 50px 50px 50px;
		padding:0;
		border:none;
		display:inline;
		width:260px;
		margin-left:25px;
		}		
 
	#form1 p{margin:.5em 0;}
	#form1 label{padding: 5px; display:block;}
	#form1 input, #form1 textarea{
		width:300px;
                height: 20px;
		border:1px solid #ddd;
        -moz-border-radius:.3em;
	    -webkit-border-radius:.3em;
	    border-radius:.3em;
		background:#fff url(img/form_input.gif) repeat-x;
		padding:5px;
		}
	#form1 textarea{
		height:125px;
		overflow:auto;
		}
	#form1 submit{
		clear:both;
		background:url(img/form_bottom.gif) no-repeat 0 100%;
		padding:0 25px 20px 25px;
		margin:0;
		text-align:right;
		}
	#form1 button{
            margin-top: 30px;
		width:150px;
		height:37px;
		line-height:37px;
		border:none;
		background:url(img/form_button.gif) no-repeat 0 0;
		color:#fff;
		cursor:pointer;
		text-align:center;
                font-family: "Segoe UI";
		}
                
           